Skip to main content

7.4.2 Obtain all mainnets supported by a currency

#Brief description: Get all mainnets supported by a currency

Query parameters

Parameter nameTypeRequiredParameter meaningParameter description
coinstringYesCurrency codeTRX, USDT (the digital currencies supported by the wallet can be obtained through document 7.4.1)
Request json sample
{
    "coin":"USDT"
}

Response json example

{
"code": 0,
"success": true,
"message": null,
"data": {
"minCollect": 0.01,
"networks": [
{
"network": "TRON",
"protocol": "TRC20",
"collectionNetworkConfirm": 2,
"withdrawalNetworkConfirm": 2
},
{
"network": "BSC",
"protocol": "BEP20",
"collectionNetworkConfirm": 15,
"withdrawalNetworkConfirm": 15
},
{
"network": "POLYGON",
"protocol": "ERC20",
"collectionNetworkConfirm": 15,
"withdrawalNetworkConfirm": 15
},
{
"network": "ETHEREUM",
"protocol": "ERC20",
"collectionNetworkConfirm": 15,
"withdrawalNetworkConfirm": 15,
}
]
}
}

Response data parameter description
Parameter nameTypeParameter meaning
minCollectnumberMinimum payment
networksarraySupported mainnets
└ networkstringmain network
└ protocolstringMainnet protocol
└ collectionNetworkConfirmint32Number of recharge network confirmations
└ withdrawalNetworkConfirmint32Number of recharge network confirmations